<?php

/**
 * Singleton. Agrega al container la configuración Clase => Singleton
 **/

class Exts_Dependency_Configuration_Command_Singleton extends Exts_Dependency_Configuration_Command_Abstract{
	public function invoke ($class, $configuration, Exts_Dependency_Configuration_Loader $loader) {
		$loader->getContainer()->addInstantiatorFor($class, Exts_Dependency_Container::$SingletonStrategy);
	}
}